<?php

class Login extends Controller {

	function Login()
	{
		parent::Controller();
			
	}
	
	function index()
	{
		if($this->session->userdata('admin'))
			header("location: ".site_url('admin/main'));
		echo 'x';
	}
}
